package com.zhongmai.yzfgrabanorder.netty_lib.bean;

public class NettyBaseFeed<T> {

    private String cmd;
    private String message;

    /**
     * 命令对象
     */
    private T data;

    public NettyBaseFeed() {
    }

    public NettyBaseFeed(String cmd, String message, T data) {
        this.cmd = cmd;
        this.message = message;
        this.data = data;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
